all: toymaker.exe
	#done

toymaker.exe: ToymakerOne.o Logger.o DXManager.o BasicWindow.o Sprite.o GameManager.o Plane.o InputManager.o Texture.o ScrollingBG.o Projectile.o Baddie.o Clock.o PositionManager.o MovePattern.o ResourceManager.o
	#Linking
#	g++ ToymakerOne.o Logger.o DXManager.o BasicWindow.o Sprite.o GameManager.o Plane.o  InputManager.o Texture.o ScrollingBG.o Projectile.o Baddie.o Clock.o PositionManager.o MovePattern.o ResourceManager.o L:\\Applications\\directx\\Lib\\x86\\d3d9.lib L:\\Applications\\directx\\Lib\\x86\\d3dx9d.lib L:\\Applications\\minGW\\lib\\libwinmm.a -o toymaker.exe
	g++ ToymakerOne.o Logger.o DXManager.o BasicWindow.o Sprite.o GameManager.o Plane.o  InputManager.o Texture.o ScrollingBG.o Projectile.o Baddie.o Clock.o PositionManager.o MovePattern.o ResourceManager.o E:\\Applications\\directx\\Lib\\x86\\d3d9.lib E:\\Applications\\directx\\Lib\\x86\\d3dx9d.lib E:\\Applications\\minGW\\lib\\libwinmm.a -o toymaker.exe

ToymakerOne.o: ToymakerOne.cpp
	#Compiling ToymakerOne.o
	g++ -c ToymakerOne.cpp
	
Logger.o: Systems\\Logger.cpp
	#Compiling Logger.cpp
	g++ -c Systems\\Logger.cpp
	
DXManager.o: Graphics\\DXManager.cpp
	#Compiling DXManager.cpp
	g++ -c Graphics\\DXManager.cpp
	
BasicWindow.o: Systems\\BasicWindow.cpp
	#Compiling BasicWindow.cpp
	g++ -c Systems\\BasicWindow.cpp

Sprite.o: Graphics\\Sprite.cpp
	#Compiling Sprite.cpp
	g++ -c Graphics\\Sprite.cpp
	
GameManager.o: Systems\\GameManager.cpp
	#Compiling GameManager.cpp
	g++ -c Systems\\GameManager.cpp
	
Plane.o: GameObjects\\Plane.cpp
	#Compiling Plane.cpp
	g++ -c GameObjects\\Plane.cpp
	
InputManager.o: Systems\\InputManager.cpp
	#Compiling InputManager.cpp
	g++ -c Systems\\InputManager.cpp

Texture.o: Graphics\\Texture.cpp
	#Compiling Texture.cpp
	g++ -c Graphics\\Texture.cpp
	
ScrollingBG.o: GameObjects\\ScrollingBG.cpp
	#Compiling ScrollingBG.cpp
	g++ -c GameObjects\\ScrollingBG.cpp
	
Projectile.o: GameObjects\\Projectile.cpp
	#Compiling Projectile.cpp
	g++ -c GameObjects\\Projectile.cpp
	
Baddie.o: GameObjects\\Baddie.cpp
	#Compiling Baddie.cpp
	g++ -c GameObjects\\Baddie.cpp	

Clock.o: Systems\\Clock.cpp
	#Compiling Clock.cpp
	g++ -c Systems\\Clock.cpp	

PositionManager.o: Systems\\PositionManager.cpp
	#Compiling Clock.cpp
	g++ -c Systems\\PositionManager.cpp	

MovePattern.o: Systems\\MovePattern.cpp
	#Compiling MovePattern.cpp
	g++ -c Systems\\MovePattern.cpp	
	
ResourceManager.o: Systems\\ResourceManager.cpp
	#Compiling ResourceManager.cpp
	g++ -c Systems\\ResourceManager.cpp
		
clean:
	rm -rf *o toymaker.exe
	